package com.ruoyi.quartz.task;

import org.springframework.stereotype.Component;

import java.util.Date;

@Component("MyTest")
public class MyTest {
    public void run(){
        System.out.println("测试定时任务"+ new Date());
    }
}
